package com.ruoyi.stream.framework.core.protocol;

import com.ruoyi.common.utils.uuid.UUID;
import com.ruoyi.stream.framework.enums.SKAResponseOption;


public class StreamAliveResponse {

    private String responseOption;

    private final String responseId = UUID.fastUUID().toString();

    private String toReqId;

    private Object body;

    public String getResponseOption() {
        return responseOption;
    }

    public void setResponseOption(SKAResponseOption responseOption) {
        this.responseOption = responseOption.getResponseOptionString();
    }

    public String getResponseId() {
        return responseId;
    }

    public String getToReqId() {
        return toReqId;
    }

    public void setToReqId(String toReqId) {
        this.toReqId = toReqId;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }
}
